Skip to content

Upgrade Deps#40

Open
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01
Open

Upgrade Deps#40
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies and devDependencies in the package.json file to newer versions. These updates include both core libraries and development tools, which should help ensure compatibility, security, and access to the latest features and bug fixes.

Dependency updates:

  • Updated core dependencies such as @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, @tanstack/react-query, dompurify, immer, react-router-dom, and styled-components to their latest minor or patch versions.

Development tool updates:

  • Updated devDependencies including @swc/core, @swc/helpers, @testing-library/jest-dom, @types/react, @vitejs/plugin-react, jest-environment-jsdom, ts-jest, typescript, and vite to newer versions for improved tooling and compatibility.

Summary by Sourcery

Update application and tooling dependencies to newer minor and patch versions for compatibility, security, and maintenance.

Enhancements:

  • Bump core runtime dependencies including Deskpro SDK/UI, Sentry, React Query, DOMPurify, Immer, React Router, and styled-components to newer minor/patch releases.

Build:

  • Upgrade build and tooling stack versions including Vite, @vitejs/plugin-react, TypeScript, SWC, Jest environment, ts-jest, and React type definitions to align with updated runtime dependencies.

Chores:

  • Refresh testing-related libraries such as @testing-library/jest-dom and other devDependencies to keep the development environment current.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:13
@sourcery-ai
Copy link

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR bumps versions of several runtime dependencies and devDependencies in package.json (and syncs pnpm-lock.yaml) to newer minor/patch releases for the app SDK, UI kit, Sentry, React Query, DOM-related libs, TypeScript toolchain, Jest environment, Vite, and SWC tooling.

File-Level Changes

Change Details Files
Update runtime dependencies to newer minor/patch versions.
  • Bump @deskpro/app-sdk from ^6.0.6 to ^6.0.8.
  • Bump @deskpro/deskpro-ui from ^8.3.1 to ^8.4.0.
  • Bump @sentry/react from ^9.38.0 to ^9.47.1.
  • Bump @sentry/vite-plugin from ^3.5.0 to ^3.6.1.
  • Bump @tanstack/react-query from ^4.40.1 to ^4.42.0.
  • Bump dompurify from ^3.2.6 to ^3.3.1.
  • Bump immer from ^10.1.1 to ^10.2.0.
  • Bump react-router-dom from ^6.30.1 to ^6.30.2.
  • Bump styled-components from ^6.1.19 to ^6.2.0.
package.json
pnpm-lock.yaml
Update build, test, and TypeScript tooling devDependencies to newer minor/patch versions.
  • Bump @swc/core from ^1.12.14 to ^1.15.8 and @swc/helpers from ^0.5.17 to ^0.5.18.
  • Bump @testing-library/jest-dom from ^6.6.3 to ^6.9.1.
  • Bump @types/react from ^18.3.23 to ^18.3.27.
  • Bump @vitejs/plugin-react from ^4.6.0 to ^4.7.0.
  • Bump jest-environment-jsdom from ^30.0.5 to ^30.2.0.
  • Bump ts-jest from ^29.4.0 to ^29.4.6.
  • Bump typescript from ^5.8.3 to ^5.9.3.
  • Bump vite from ^6.3.6 to ^6.4.1.
package.json
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue, and left some high level feedback:

  • You’re updating jest-environment-jsdom to v30.x while keeping jest and ts-jest on v29.x; it’s worth aligning the Jest-related packages to the same major version to avoid subtle runtime or configuration incompatibilities.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- You’re updating `jest-environment-jsdom` to v30.x while keeping `jest` and `ts-jest` on v29.x; it’s worth aligning the Jest-related packages to the same major version to avoid subtle runtime or configuration incompatibilities.

## Individual Comments

### Comment 1
<location> `package.json:56` </location>
<code_context>
         "intersection-observer": "^0.12.2",
         "jest": "^29.7.0",
-        "jest-environment-jsdom": "^30.0.5",
+        "jest-environment-jsdom": "^30.2.0",
         "prettier": "3.2.4",
         "react-resize-observer": "^1.1.1",
</code_context>

<issue_to_address>
**issue (bug_risk):** Version mismatch between Jest core (29.x) and jest-environment-jsdom (30.x) may be unsupported.

Using `jest-environment-jsdom@30.x` with `jest@29.7.0` is likely an unsupported combination and may cause subtle test issues. Please either keep `jest-environment-jsdom` on 29.x or upgrade Jest to 30.x so the major versions match.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates multiple dependencies and devDependencies to their latest versions, including core libraries like @deskpro/app-sdk, @sentry/react, @tanstack/react-query, and development tools like typescript, vite, and testing utilities. These updates aim to ensure compatibility, security, and access to the latest features and bug fixes.

Key Changes:

  • Core library updates: Deskpro SDK, UI libraries, Sentry, React Query, DOM utilities
  • Development tooling updates: TypeScript 5.9.3, Vite 6.4.1, SWC compiler, testing libraries
  • Type definition updates for React and related packages

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates dependency versions for both production and development packages
pnpm-lock.yaml Auto-generated lockfile reflecting the dependency updates and their transitive dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants